package com.wzzc.bean;

import java.util.ArrayList;
import java.util.List;

public class StudentExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public StudentExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andStudentNoIsNull() {
            addCriterion("student_no is null");
            return (Criteria) this;
        }

        public Criteria andStudentNoIsNotNull() {
            addCriterion("student_no is not null");
            return (Criteria) this;
        }

        public Criteria andStudentNoEqualTo(String value) {
            addCriterion("student_no =", value, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoNotEqualTo(String value) {
            addCriterion("student_no <>", value, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoGreaterThan(String value) {
            addCriterion("student_no >", value, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoGreaterThanOrEqualTo(String value) {
            addCriterion("student_no >=", value, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoLessThan(String value) {
            addCriterion("student_no <", value, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoLessThanOrEqualTo(String value) {
            addCriterion("student_no <=", value, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoLike(String value) {
            addCriterion("student_no like", value, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoNotLike(String value) {
            addCriterion("student_no not like", value, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoIn(List<String> values) {
            addCriterion("student_no in", values, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoNotIn(List<String> values) {
            addCriterion("student_no not in", values, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoBetween(String value1, String value2) {
            addCriterion("student_no between", value1, value2, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentNoNotBetween(String value1, String value2) {
            addCriterion("student_no not between", value1, value2, "studentNo");
            return (Criteria) this;
        }

        public Criteria andStudentPasswordIsNull() {
            addCriterion("student_password is null");
            return (Criteria) this;
        }

        public Criteria andStudentPasswordIsNotNull() {
            addCriterion("student_password is not null");
            return (Criteria) this;
        }

        public Criteria andStudentPasswordEqualTo(String value) {
            addCriterion("student_password =", value, "studentPassword");
            return (Criteria) this;
        }

        public Criteria andStudentPasswordNotEqualTo(String value) {
            addCriterion("student_password <>", value, "studentPassword");
            return (Criteria) this;
        }

        public Criteria andStudentPasswordGreaterThan(String value) {
            addCriterion("student_password >", value, "studentPassword");
            return (Criteria) this;
        }

        public Criteria andStudentPasswordGreaterThanOrEqualTo(String value) {
            addCriterion("student_password >=", value, "studentPassword");
            return (Criteria) this;
        }

        public Criteria andStudentPasswordLessThan(String value) {
            addCriterion("student_password <", value, "studentPassword");
            return (Criteria) this;
        }

        public Criteria andStudentPasswordLessThanOrEqualTo(String value) {
            addCriterion("student_password <=", value, "studentPassword");
            return (Criteria) this;
        }

        public Criteria andStudentPasswordLike(String value) {
            addCriterion("student_password like", value, "studentPassword");
            return (Criteria) this;
        }

        public Criteria andStudentPasswordNotLike(String value) {
            addCriterion("student_password not like", value, "studentPassword");
            return (Criteria) this;
        }

        public Criteria andStudentPasswordIn(List<String> values) {
            addCriterion("student_password in", values, "studentPassword");
            return (Criteria) this;
        }

        public Criteria andStudentPasswordNotIn(List<String> values) {
            addCriterion("student_password not in", values, "studentPassword");
            return (Criteria) this;
        }

        public Criteria andStudentPasswordBetween(String value1, String value2) {
            addCriterion("student_password between", value1, value2, "studentPassword");
            return (Criteria) this;
        }

        public Criteria andStudentPasswordNotBetween(String value1, String value2) {
            addCriterion("student_password not between", value1, value2, "studentPassword");
            return (Criteria) this;
        }

        public Criteria andStudentRealnameIsNull() {
            addCriterion("student_realname is null");
            return (Criteria) this;
        }

        public Criteria andStudentRealnameIsNotNull() {
            addCriterion("student_realname is not null");
            return (Criteria) this;
        }

        public Criteria andStudentRealnameEqualTo(String value) {
            addCriterion("student_realname =", value, "studentRealname");
            return (Criteria) this;
        }

        public Criteria andStudentRealnameNotEqualTo(String value) {
            addCriterion("student_realname <>", value, "studentRealname");
            return (Criteria) this;
        }

        public Criteria andStudentRealnameGreaterThan(String value) {
            addCriterion("student_realname >", value, "studentRealname");
            return (Criteria) this;
        }

        public Criteria andStudentRealnameGreaterThanOrEqualTo(String value) {
            addCriterion("student_realname >=", value, "studentRealname");
            return (Criteria) this;
        }

        public Criteria andStudentRealnameLessThan(String value) {
            addCriterion("student_realname <", value, "studentRealname");
            return (Criteria) this;
        }

        public Criteria andStudentRealnameLessThanOrEqualTo(String value) {
            addCriterion("student_realname <=", value, "studentRealname");
            return (Criteria) this;
        }

        public Criteria andStudentRealnameLike(String value) {
            addCriterion("student_realname like", value, "studentRealname");
            return (Criteria) this;
        }

        public Criteria andStudentRealnameNotLike(String value) {
            addCriterion("student_realname not like", value, "studentRealname");
            return (Criteria) this;
        }

        public Criteria andStudentRealnameIn(List<String> values) {
            addCriterion("student_realname in", values, "studentRealname");
            return (Criteria) this;
        }

        public Criteria andStudentRealnameNotIn(List<String> values) {
            addCriterion("student_realname not in", values, "studentRealname");
            return (Criteria) this;
        }

        public Criteria andStudentRealnameBetween(String value1, String value2) {
            addCriterion("student_realname between", value1, value2, "studentRealname");
            return (Criteria) this;
        }

        public Criteria andStudentRealnameNotBetween(String value1, String value2) {
            addCriterion("student_realname not between", value1, value2, "studentRealname");
            return (Criteria) this;
        }

        public Criteria andStudentClassnameIsNull() {
            addCriterion("student_classname is null");
            return (Criteria) this;
        }

        public Criteria andStudentClassnameIsNotNull() {
            addCriterion("student_classname is not null");
            return (Criteria) this;
        }

        public Criteria andStudentClassnameEqualTo(String value) {
            addCriterion("student_classname =", value, "studentClassname");
            return (Criteria) this;
        }

        public Criteria andStudentClassnameNotEqualTo(String value) {
            addCriterion("student_classname <>", value, "studentClassname");
            return (Criteria) this;
        }

        public Criteria andStudentClassnameGreaterThan(String value) {
            addCriterion("student_classname >", value, "studentClassname");
            return (Criteria) this;
        }

        public Criteria andStudentClassnameGreaterThanOrEqualTo(String value) {
            addCriterion("student_classname >=", value, "studentClassname");
            return (Criteria) this;
        }

        public Criteria andStudentClassnameLessThan(String value) {
            addCriterion("student_classname <", value, "studentClassname");
            return (Criteria) this;
        }

        public Criteria andStudentClassnameLessThanOrEqualTo(String value) {
            addCriterion("student_classname <=", value, "studentClassname");
            return (Criteria) this;
        }

        public Criteria andStudentClassnameLike(String value) {
            addCriterion("student_classname like", value, "studentClassname");
            return (Criteria) this;
        }

        public Criteria andStudentClassnameNotLike(String value) {
            addCriterion("student_classname not like", value, "studentClassname");
            return (Criteria) this;
        }

        public Criteria andStudentClassnameIn(List<String> values) {
            addCriterion("student_classname in", values, "studentClassname");
            return (Criteria) this;
        }

        public Criteria andStudentClassnameNotIn(List<String> values) {
            addCriterion("student_classname not in", values, "studentClassname");
            return (Criteria) this;
        }

        public Criteria andStudentClassnameBetween(String value1, String value2) {
            addCriterion("student_classname between", value1, value2, "studentClassname");
            return (Criteria) this;
        }

        public Criteria andStudentClassnameNotBetween(String value1, String value2) {
            addCriterion("student_classname not between", value1, value2, "studentClassname");
            return (Criteria) this;
        }

        public Criteria andDockerStateIsNull() {
            addCriterion("docker_state is null");
            return (Criteria) this;
        }

        public Criteria andDockerStateIsNotNull() {
            addCriterion("docker_state is not null");
            return (Criteria) this;
        }

        public Criteria andDockerStateEqualTo(Integer value) {
            addCriterion("docker_state =", value, "dockerState");
            return (Criteria) this;
        }

        public Criteria andDockerStateNotEqualTo(Integer value) {
            addCriterion("docker_state <>", value, "dockerState");
            return (Criteria) this;
        }

        public Criteria andDockerStateGreaterThan(Integer value) {
            addCriterion("docker_state >", value, "dockerState");
            return (Criteria) this;
        }

        public Criteria andDockerStateGreaterThanOrEqualTo(Integer value) {
            addCriterion("docker_state >=", value, "dockerState");
            return (Criteria) this;
        }

        public Criteria andDockerStateLessThan(Integer value) {
            addCriterion("docker_state <", value, "dockerState");
            return (Criteria) this;
        }

        public Criteria andDockerStateLessThanOrEqualTo(Integer value) {
            addCriterion("docker_state <=", value, "dockerState");
            return (Criteria) this;
        }

        public Criteria andDockerStateIn(List<Integer> values) {
            addCriterion("docker_state in", values, "dockerState");
            return (Criteria) this;
        }

        public Criteria andDockerStateNotIn(List<Integer> values) {
            addCriterion("docker_state not in", values, "dockerState");
            return (Criteria) this;
        }

        public Criteria andDockerStateBetween(Integer value1, Integer value2) {
            addCriterion("docker_state between", value1, value2, "dockerState");
            return (Criteria) this;
        }

        public Criteria andDockerStateNotBetween(Integer value1, Integer value2) {
            addCriterion("docker_state not between", value1, value2, "dockerState");
            return (Criteria) this;
        }

        public Criteria andDockerStarttimeIsNull() {
            addCriterion("docker_starttime is null");
            return (Criteria) this;
        }

        public Criteria andDockerStarttimeIsNotNull() {
            addCriterion("docker_starttime is not null");
            return (Criteria) this;
        }

        public Criteria andDockerStarttimeEqualTo(String value) {
            addCriterion("docker_starttime =", value, "dockerStarttime");
            return (Criteria) this;
        }

        public Criteria andDockerStarttimeNotEqualTo(String value) {
            addCriterion("docker_starttime <>", value, "dockerStarttime");
            return (Criteria) this;
        }

        public Criteria andDockerStarttimeGreaterThan(String value) {
            addCriterion("docker_starttime >", value, "dockerStarttime");
            return (Criteria) this;
        }

        public Criteria andDockerStarttimeGreaterThanOrEqualTo(String value) {
            addCriterion("docker_starttime >=", value, "dockerStarttime");
            return (Criteria) this;
        }

        public Criteria andDockerStarttimeLessThan(String value) {
            addCriterion("docker_starttime <", value, "dockerStarttime");
            return (Criteria) this;
        }

        public Criteria andDockerStarttimeLessThanOrEqualTo(String value) {
            addCriterion("docker_starttime <=", value, "dockerStarttime");
            return (Criteria) this;
        }

        public Criteria andDockerStarttimeIn(List<String> values) {
            addCriterion("docker_starttime in", values, "dockerStarttime");
            return (Criteria) this;
        }

        public Criteria andDockerStarttimeNotIn(List<String> values) {
            addCriterion("docker_starttime not in", values, "dockerStarttime");
            return (Criteria) this;
        }

        public Criteria andDockerStarttimeBetween(String value1, String value2) {
            addCriterion("docker_starttime between", value1, value2, "dockerStarttime");
            return (Criteria) this;
        }

        public Criteria andDockerStarttimeNotBetween(String value1, String value2) {
            addCriterion("docker_starttime not between", value1, value2, "dockerStarttime");
            return (Criteria) this;
        }

        public Criteria andDockerUuidIsNull() {
            addCriterion("docker_uuid is null");
            return (Criteria) this;
        }

        public Criteria andDockerUuidIsNotNull() {
            addCriterion("docker_uuid is not null");
            return (Criteria) this;
        }

        public Criteria andDockerUuidEqualTo(String value) {
            addCriterion("docker_uuid =", value, "dockerUuid");
            return (Criteria) this;
        }

        public Criteria andDockerUuidNotEqualTo(String value) {
            addCriterion("docker_uuid <>", value, "dockerUuid");
            return (Criteria) this;
        }

        public Criteria andDockerUuidGreaterThan(String value) {
            addCriterion("docker_uuid >", value, "dockerUuid");
            return (Criteria) this;
        }

        public Criteria andDockerUuidGreaterThanOrEqualTo(String value) {
            addCriterion("docker_uuid >=", value, "dockerUuid");
            return (Criteria) this;
        }

        public Criteria andDockerUuidLessThan(String value) {
            addCriterion("docker_uuid <", value, "dockerUuid");
            return (Criteria) this;
        }

        public Criteria andDockerUuidLessThanOrEqualTo(String value) {
            addCriterion("docker_uuid <=", value, "dockerUuid");
            return (Criteria) this;
        }

        public Criteria andDockerUuidLike(String value) {
            addCriterion("docker_uuid like", value, "dockerUuid");
            return (Criteria) this;
        }

        public Criteria andDockerUuidNotLike(String value) {
            addCriterion("docker_uuid not like", value, "dockerUuid");
            return (Criteria) this;
        }

        public Criteria andDockerUuidIn(List<String> values) {
            addCriterion("docker_uuid in", values, "dockerUuid");
            return (Criteria) this;
        }

        public Criteria andDockerUuidNotIn(List<String> values) {
            addCriterion("docker_uuid not in", values, "dockerUuid");
            return (Criteria) this;
        }

        public Criteria andDockerUuidBetween(String value1, String value2) {
            addCriterion("docker_uuid between", value1, value2, "dockerUuid");
            return (Criteria) this;
        }

        public Criteria andDockerUuidNotBetween(String value1, String value2) {
            addCriterion("docker_uuid not between", value1, value2, "dockerUuid");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}